package com.sen.gulimall.product.feign;

import com.sen.common.to.es.SkuEsModel;
import com.sen.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @ClassName: SearchFeignService
 * @Title: gulimall
 * @Package: com.sen.gulimall.product.feign
 * @Description:
 * @Author: Kisen
 * @Date: 2022/3/21 17:02
 */
@FeignClient("gulimall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
